<?php

namespace app\index\controller;



class Operation
{

    public function index()
    {
        $result=\app\index\model\Operation::all();
        return $result;
    }

    public function read($id)
    {
        return \app\index\model\Operation::get($id);
    }
}
 